<?php
###==================================###
###===============dev config=========###
###==================================###
return array(
    //'配置项'=>'配置值'
    'MULTI_MODULE' => false,
    'DEFAULT_MODULE' => 'Home',
    'URL_HTML_SUFFIX'=>'.php',

    'URL_PARAMS_BIND_TYPE'  =>  1,
    
    'SHOW_ERROR_MSG'        =>  true,
//     'TMPL_EXCEPTION_FILE'    => 'Public/tpl/api_exception.tpl',
        
    //默认数据库
    'DB_TYPE'   => 'mysql', // 数据库类型
    'DB_HOST'   => '106.75.215.215', // 服务器地址
    'DB_NAME'   => 'jh_fz', // 数据库名
    'DB_USER'   => 'root', // 用户名
    'DB_PWD'    => 'RTYh87gs', // 密码
    'DB_PORT'   => 16506, // 端口
    'DB_PREFIX' => '', // 数据库表前缀
    
    //whaley_system数据库
    'DB_system'    => 'mysql://root:RTYh87gs@106.75.215.215:16506/jh_system',
    //whaley_system数据库
    'DB_fz'    => 'mysql://root:RTYh87gs@106.75.215.215:16506/jh_fz',
    //whaley_trade数据库
    'DB_trade'    => 'mysql://root:RTYh87gs@106.75.215.215:16506/jh_trade',
    //whaley_product数据库
    'DB_product'    => 'mysql://root:RTYh87gs@106.75.215.215:16506/jh_product',    
        
    'UrlConfig'    => array(
            'register_QRcode_url'	=> '/index/register',
            'buy_QRCode_url'		=> '/buy/cart',
            'home_url'				=> '/admin/home',
            'login_url'				=> '/index/login',
            'audit_error_url'		=> '/index/auditError',
            'join_promoter_QRcode_url'	=> '/index/register',
            'common_error_url'	=> '/index/commonError',
            'common_info_url'	=> '/index/commonInfo',
            'checkout_url'		=> '/buy/checkout',
            'order_success_url'	=> '/buy/orderSuccess',
            'payment_transfer_QRCode_url'	=> '/buy/paymentTransfer',
    ),
    'UriConfig' => array(
            'sku_image_450_pre_url'     => 'http://product.whaleyinfo.cn/Public/img/product/450/',
            'desc_url_pre_url'     => '/product/',
    ),
    'SystemConfig'    => array(
            'encrypt_key'            => 'rlQu78NZpd2OwhQG',
    ),
    'AlipayConfig'    => array(  
            'partner'        => '2088911659298453',
            'seller_id'        => '2088911659298453',
            'key'            => 'clvbnhz4merg9v6fkvelob4762frhlg2',
            'notify_url'    => 'http://o.whaley.cn/buy/alipayNotify',
            'return_url'    => 'http://o.whaley.cn/buy/paymentResult',
            'sign_type'        => strtoupper('MD5'),
            'input_charset'    => strtolower('utf-8'),
            'cacert'        => './Public/alipay/cacert.pem',
            'transport'        => 'http',
            'payment_type'    => '1',
            'service'        => 'alipay.wap.create.direct.pay.by.user',
    ),
        
);